<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s" %>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Review</title>
		
		<link type="text/css" href="css/jquery-ui-1.8.13.custom.css" rel="stylesheet" />	
		<script type="text/javascript" src="scripts/jquery-1.5.1.min.js"></script>
		<script type="text/javascript" src="scripts/jquery-ui-1.8.13.custom.min.js"></script>
		<script type="text/javascript">
		$(function(){
			// Tabs
			$('#tabs').tabs();
			});
			
			jQuery(document).ready(function() {
				$('a').click(function(e){
					
					// $("#firstFrame").attr("src", "displayConferenceItems.action");	
			   });
				
				$("#tab1").click(function(e){
					$("#firstFrame").attr("src","displayConference.action" );
			   });
				$("#tab2").click(function(e){
					$("#tabs-2").attr("src","createConference.action" );
			   });
				$("#tab3").click(function(e){
					$("#tabs-3").attr("src","registration.action" );
			   });
			});
		</script>
	</head>
<body>
	    
 <s:form action="reviewsearch" method="POST">
            
       <div style="width:1300px;height:320px; font-size:small;">
			<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
				<ul>
					<li><a id="tab1" href="#firstFrame">View Conference</a></li>
					<li><a id="tab2" href="#tabs-2">Create Conference</a></li>
					<li><a id="tab3" href="#tabs-3">Create User</a></li>
				</ul>
					<iframe id="firstFrame" width=100% height=100% src="displayConference.action">
			          <p>Tab 1 content</p>
			       </iframe>
			       <iframe id="tabs-2" width=100% height=100% src="createConference.action">
			          <p>Tab 2 content</p>
			       </iframe> 
			       <iframe id="tabs-3" width=100% height=100% src="registration.action">
			          <p>Tab 2 content</p>
			       </iframe>	
			</div>
			
			
		</div>
		     
    </s:form>
</body>
</html>